package org.eiahe.hr.employeeRelation.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.system.domain.HrEmployee;
import org.ehe.system.domain.vo.HrEmployeeVo;
import org.eiahe.hr.employeeRelation.domain.ContractInfo;

import java.util.Date;
import java.util.List;

/**
 * 合同信息视图对象
 *
 * @author zhangnn
 */
@Data
@AutoMapper(target = ContractInfo.class)
public class ContractInfoVo {

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 员工ID
     */
    private Long employeeId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 姓名
     */
    private String employeeName;

    private HrEmployeeVo employeeVo;

    /**
     * 合同类型（1固定期限 2无固定期限）
     */
    private String contractType;

    /**
     * 签订时间
     */
    private Date signDate;

    /**
     * 到期时间
     */
    private Date expiryDate;

    /**
     * 续签状态
     */
    private String renewalStatus;

    /**
     * 续签次数
     */
    private Integer renewalCount;

    /**
     * 原合同ID
     */
    private Long prevContractId;

    /**
     * 合同附件
     */
    private String contractAttachment;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 0不显示续签按钮
     * 1显示续签按钮
     */
    private String renewalButtonStatus;

    /**
     * 续签
     */
    private List<ContractRenewalApplicationVo> contractRenewalApplicationVos;

}
